package com.qf.service;

import com.qf.model.Project;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;

import java.util.List;

public interface ProjectService {
    List<Project> getAll();

    PageResult findPage(QueryPageBean queryPageBean);

   int addProject(Project project);


    Project findByPid(int pid);

    int edit(Project project);

    int deleteByPid(Integer pid);

    void bindDid(String did, int[] pids);

    List<Project> findByDid(String did);

    void bindCid(String cid, int[] pids);

    List<Project> findByCid(String cid);

    void deleteByDid(String did);

    void deleteByCid(String cid);

    void deleteDid(String did);

    void deleteCid(String cid);
}

